<?
global $_skin;

ob_start();
$_skin["page"] = $db->query1("select * from node where link = 'wiki'");
$_skin["baseless"] = 1;
include dirname(__FILE__)."/index.php";
$skin = ob_get_contents();
ob_end_clean();

ob_start();
include dirname(__FILE__)."/_wiki.php";
$wiki = ob_get_contents();
ob_end_clean();

echo str_replace("%%",$wiki,$skin);
?>